#ifndef PRINT_INFO_H
#define PRINT_INFO_H

#include <pjsua2.hpp>
#include <QDebug>

using namespace pj;
using namespace std;

class print_info
{
public:
    print_info();
    void printAccountInfo(const AccountInfo &account);
    void printCallInfo(const CallInfo &info);
    void printTransInfo(const TransportInfo &info);
private:
    QString roleToString(pjsip_role_e role);
    QString invStateToString(pjsip_inv_state state);
    QString formatTimeVal(const TimeVal &tv);
    void printMediaInfo(const CallMediaInfo &media);
};

#endif // PRINT_INFO_H
